package simpleFacvtory;

/**
 * 交通工具抽象类
 */
public abstract class transport {
    private float gl;//功率
    private float zz;//载重

    public float getGl() {
        return gl;
    }

    public void setGl(float gl) {
        this.gl = gl;
    }

    public float getZz() {
        return zz;
    }

    public void setZz(float zz) {
        this.zz = zz;
    }

    public abstract void transform();//运输
    }

